package com.source.hotelbath.model;

import android.os.Parcel;
import android.os.Parcelable;

/**
 * Created by ZhouMeng on 2017/9/30.
 */

public class DoRecordBean implements Parcelable {

    /**
     * creUserId : 1
     * creUserName : 测试操作员
     * createTimeDescp : 2017-05-11 18:22:35
     * id : 2494
     * operateContent : 操作员提交取布草
     * operateFrom : 02
     * operateType : 01
     * operator : 测试操作员
     * operatorId : 1
     * orderId : 602
     * remark : 提交取
     * updUserId : 0
     * updUserName :
     * updateTimeDescp : 2017-05-11 18:22:35
     */

    private int creUserId;
    private String creUserName;
    private String createTimeDescp;
    private int id;
    private String operateContent;
    private String operateFrom;
    private String operateType;
    private String operator;
    private int operatorId;
    private int orderId;
    private String remark;
    private int updUserId;
    private String updUserName;
    private String updateTimeDescp;

    public int getCreUserId() {
        return creUserId;
    }

    public void setCreUserId(int creUserId) {
        this.creUserId = creUserId;
    }

    public String getCreUserName() {
        return creUserName;
    }

    public void setCreUserName(String creUserName) {
        this.creUserName = creUserName;
    }

    public String getCreateTimeDescp() {
        return createTimeDescp;
    }

    public void setCreateTimeDescp(String createTimeDescp) {
        this.createTimeDescp = createTimeDescp;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getOperateContent() {
        return operateContent;
    }

    public void setOperateContent(String operateContent) {
        this.operateContent = operateContent;
    }

    public String getOperateFrom() {
        return operateFrom;
    }

    public void setOperateFrom(String operateFrom) {
        this.operateFrom = operateFrom;
    }

    public String getOperateType() {
        return operateType;
    }

    public void setOperateType(String operateType) {
        this.operateType = operateType;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator;
    }

    public int getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(int operatorId) {
        this.operatorId = operatorId;
    }

    public int getOrderId() {
        return orderId;
    }

    public void setOrderId(int orderId) {
        this.orderId = orderId;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public int getUpdUserId() {
        return updUserId;
    }

    public void setUpdUserId(int updUserId) {
        this.updUserId = updUserId;
    }

    public String getUpdUserName() {
        return updUserName;
    }

    public void setUpdUserName(String updUserName) {
        this.updUserName = updUserName;
    }

    public String getUpdateTimeDescp() {
        return updateTimeDescp;
    }

    public void setUpdateTimeDescp(String updateTimeDescp) {
        this.updateTimeDescp = updateTimeDescp;
    }

    @Override
    public int describeContents() {
        return 0;
    }

    @Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeInt(this.creUserId);
        dest.writeString(this.creUserName);
        dest.writeString(this.createTimeDescp);
        dest.writeInt(this.id);
        dest.writeString(this.operateContent);
        dest.writeString(this.operateFrom);
        dest.writeString(this.operateType);
        dest.writeString(this.operator);
        dest.writeInt(this.operatorId);
        dest.writeInt(this.orderId);
        dest.writeString(this.remark);
        dest.writeInt(this.updUserId);
        dest.writeString(this.updUserName);
        dest.writeString(this.updateTimeDescp);
    }

    public DoRecordBean() {
    }

    protected DoRecordBean(Parcel in) {
        this.creUserId = in.readInt();
        this.creUserName = in.readString();
        this.createTimeDescp = in.readString();
        this.id = in.readInt();
        this.operateContent = in.readString();
        this.operateFrom = in.readString();
        this.operateType = in.readString();
        this.operator = in.readString();
        this.operatorId = in.readInt();
        this.orderId = in.readInt();
        this.remark = in.readString();
        this.updUserId = in.readInt();
        this.updUserName = in.readString();
        this.updateTimeDescp = in.readString();
    }

    public static final Parcelable.Creator<DoRecordBean> CREATOR = new Parcelable.Creator<DoRecordBean>() {
        @Override
        public DoRecordBean createFromParcel(Parcel source) {
            return new DoRecordBean(source);
        }

        @Override
        public DoRecordBean[] newArray(int size) {
            return new DoRecordBean[size];
        }
    };
}
